<?php

function handler_index($user, $parameters, $app){
  /* 
    if (!getPermission($user).havePermission(__FUNCTION__)){
      throw "No permission"; 
    }
  */
  $smarty = $app->getSmarty();
  $smarty->assign('msg', 'It Works');
  $smarty->assign('links', array('link1' => 'page1', 'link2' => 'page2'));
}

?>
